/**
 * Team members:
 * HengXing Liu 2022229044
 * YiYang Zhang 2022229047
 * ZeJun Liu 2022229092
 */
package project;
/**
 * A class to handle variable exception.
 * A variable exception is thrown when
 * the variable is not exist.
 */
public class VariableException extends Exception{
    private String msg;
    public VariableException(String msg){
        this.msg = msg;
    }
    @Override
    public String getMessage() {
        return "Error: " + msg;
    }

}
